package com.chuanke.ckfamily.dao.finance.model;
import com.weijie.core.extend.FiledName;
import com.weijie.core.extend.TableName;
import com.weijie.core.model.BaseModel;
import java.io.Serializable;
import java.sql.Timestamp;

@TableName("cf_packet")
public class RedPacket extends BaseModel{

	private static final long serialVersionUID = -1548544948922023103L;

	// 家族主键
	private Long fid;
	@FiledName("fid")
	public Long getFid(){
		return this.fid;
	}
	public void setFid(Long fid){
		 this.fid = fid;
	}

	// 发放红包用户
	private Long uid;
	@FiledName("uid")
	public Long getUid(){
		return this.uid;
	}
	public void setUid(Long uid){
		 this.uid = uid;
	}

	// 红包原始金额
	private Long p_money;
	@FiledName("p_money")
	public Long getP_money(){
		return this.p_money;
	}
	public void setP_money(Long p_money){
		 this.p_money = p_money;
	}

	// 红包剩余金额
	private Long left_money;
	@FiledName("left_money")
	public Long getLeft_money(){
		return this.left_money;
	}
	public void setLeft_money(Long left_money){
		 this.left_money = left_money;
	}

	// 红包总份额
	private Integer all_total;
	@FiledName("all_total")
	public Integer getAll_total(){
		return this.all_total;
	}
	public void setAll_total(Integer all_total){
		 this.all_total = all_total;
	}

	// 红包剩余份额
	private Integer left_total;
	@FiledName("left_total")
	public Integer getLeft_total(){
		return this.left_total;
	}
	public void setLeft_total(Integer left_total){
		 this.left_total = left_total;
	}

	// 红包状态(0正常，1关闭，2空了, )
	private Integer status;
	@FiledName("status")
	public Integer getStatus(){
		return this.status;
	}
	public void setStatus(Integer status){
		 this.status = status;
	}

	// 红包类型（家族红包，族长红包等等, 1: 家族红包，2：族长红包）
	private Integer type;
	@FiledName("type")
	public Integer getType(){
		return this.type;
	}
	public void setType(Integer type){
		 this.type = type;
	}

	// 发放时间
	private Timestamp create_time;
	@FiledName("create_time")
	public Timestamp getCreate_time(){
		return this.create_time;
	}
	public void setCreate_time(Timestamp create_time){
		 this.create_time = create_time;
	}

	// 红包内容
	private String rnote;
	@FiledName("rnote")
	public String getRnote() {
		return rnote;
	}

	public void setRnote(String rnote) {
		this.rnote = rnote;
	}
}